Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Democratizing code fixes - part two #15398

Merged
merged 11 commits into from
Jun 15, 2023
Merged

Democratizing code fixes - part two #15398

merged 11 commits into from
Jun 15, 2023

Conversation

psfinaki
Copy link
Member

@psfinaki psfinaki commented Jun 14, 2023

This PR:

As of now, the code fix boilerplate is only the following:

    override _.FixableDiagnosticIds = ImmutableArray.Create(...) // diag numbers here

    override this.RegisterCodeFixesAsync context = context.RegisterFsharpFix(this)

    interface IFSharpCodeFixProvider with
        member _.GetCodeFixIsAppliesAsync document span = // implementation

@psfinaki psfinaki requested a review from a team as a code owner June 14, 2023 18:57
@psfinaki
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@psfinaki psfinaki enabled auto-merge (squash) June 15, 2023 11:27
@psfinaki psfinaki merged commit d984929 into dotnet:main Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

FSharpWrapExpressionInParentheses code fix throws exception
3 participants